import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false;

//引入字体图标
import '@/assets/css/iconfont.css'
//引入轮播图
import VueAwesomeSwiper from 'vue-awesome-swiper'
// require styles
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper);
//解决移动端300ms延时点击
import FastClick from 'fastclick'
FastClick.attach(document.body);
//引入axios
import axios from "axios"
// axios.defaults.baseURL = 'http://localhost';
Vue.prototype.$axios = axios;
//初始化样式
import 'css/reset.css'
//引入mint-ui框架
import Mint from 'mint-ui';
Vue.use(Mint);
import 'mint-ui/lib/style.css';
//引入Vuex仓库
import store from './store'
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
});
